<script src="${staticPath!}/js/base/jquery-2.1.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {
        var url = "/systemIcon/loadIcon";
        var data = {};
        Jmts.ajaxPost(url, data, function (result) {
            if (result.success) {
                var iconList = eval(result.data);
                var iconInfo = "";
                for (var i in iconList) {
                    var iconCode = iconList[i].iconCode;
                    var iconName = iconList[i].iconName;
                    iconInfo += "<label class='radio-inline'><input type='radio'  id='" + iconName + "' name='iconInfo' value='" + iconCode + "' onchange='selectIcon()'/>"
                    iconInfo += "<label class='" + iconCode + " control-label' style='font-size:17px'/></label>";
                }
                $("#iconInfo").html(iconInfo);
            } else {
                Jmts.warnTips(result.msg);
            }
        });

    });

    function selectIcon() {
        $("#" + selectIconId).val($("input[name='iconInfo']:checked").val());
        $("#selectResIcon").hide();
    }
</script>
<div class="form-group" id="selectResIcon" style="display:none;">
  <label class="col-sm-2 control-label"></label>
  <div class="col-sm-8 radio-list" id="iconInfo" style="border:1px solid #3598dc">

  </div>
</div>
